package com.atxwq.shop.manager.serivce.impl;

import com.atxwq.shop.manager.mapper.ProductUnitMapper;
import com.atxwq.shop.manager.serivce.ProductService;
import com.atxwq.shop.manager.serivce.ProductUnitService;
import com.atxwq.shop.model.entity.base.ProductUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description TODO
 * @Date 2025/5/15 12:25
 * @Created by 12336
 */

@Service
public class ProductUnitServiceImpl implements ProductUnitService {

    @Autowired
    private ProductUnitMapper productUnitMapper;

    @Override
    public List<ProductUnit> findAll() {
        return productUnitMapper.findAll() ;
    }
}
